package com.wn.date20190814linkedList;

import java.util.LinkedList;

public class Test
{
	public static void main(String[] args)
	{
		LinkedList<Integer> link=new LinkedList<Integer>();
		link.add(123);
		System.out.println(link.getFirst());
		System.out.println(link.getLast());
	}
}
